public class lwh {
	private int x;
	private int y;
	
public lwh(){
	this.x=0;
	this.y=0;
}
public lwh(int x,int y){
	this.x=x;
	this.y=y;
}
float getD(lwh s){
	
	float distance= (float) Math.sqrt((this.x-s.x)*(this.x-s.x)+(this.y-s.y)*(this.y-s.y));
	return distance;
}

	public static void main(String[] args) {
		lwh s1=new lwh();
		s1.x=4; s1.y=5;
		lwh s2=new lwh();
		s2.x=2; s2.y=3;
		System.out.print(s1.getD(s2));   }
}